<!DOCTYPE html>
<html lang="en">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>head</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/head.css">
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
<!--    导航条-->
<div class="layui-row nav" th:fragment="navigation-bar"  >
    <div class="layui-col-md9">
        <img id="icon" src="../picture/icon.png">

        <!--            你的内容 9/12-->
        <!--<a> 分类</a>-->
        <a th:href="@{/toAddBlog(userId=${session.userId})} " style="width: 10%;color: #FAFAFA" class=" layui-btn-primary"> 编辑</a>
        <!--<a> 搜索</a>-->


    </div >
    <div class="layui-col-md3 nav-right">
        <!--            你的内容 3/12-->
        <div id="btn">
        <form class="layui-form layui-form-pane" th:action="@{/searchByKeyWord}">
            <div class="layui-form-item">
                <div class="layui-inline">

                    <div class="layui-input-inline">
                        <!--注意此处input标签里的id-->
                        <input class=" search-content layui-input" style="border-radius: 15px;" name="keyword" id="demoReload" autocomplete="off">
                    </div>
                </div>

                <div class="layui-inline">
                    <!--注意此处button标签里的type属性-->
                <i class="layui-icon search-icon"></i>
                </div>
            </div>
        </form>
    </div>

    </div>
</div>
</body>
</html>